package com.temp;

public class Test {
	public final static void main(String [] arg){
//		Animal a=new Animal();
//		Person p=(Person) a;
//		p.eat();
		
		Person p=new Person();
		Animal a=p;
		a.eat();
		
		Animal aa=new Person();
	}

}
